• SQL SERVER – Error: Fix – Msg 208 – Invalid object name ‘dbo.backupset’ – Invalid object name ‘dbo.backupfile’

    Updated: 2012-08-31 02:30:14
    Just a day before I got a very interesting email. Here is the email (modified a bit to make it relevant to this blog post). “Pinal, We are facing a very strange issue. One of our query  related to backup files and backup set has stopped working suddenly in SSMS. It works fine in application where [...]

  • SQLPASS DB Design Precon Preview

    Updated: 2012-08-31 01:27:13
    It is just a few months left before SQLPASS and I am pushing to get my precon prepped for you. While it will be the second time I produce this on the year, I listened to the feedback and positive comments I have heard from potential attendees, so I am making a couple of big changes to fit what people really liked. Lots more design time. We will do more designs in some form, as a group, teams, and individually, depending on the room and people in attendance. (Figure on a lot of databases centered...(read more)

  • Using Subjects to Deploy Queries Dynamically

    Updated: 2012-08-30 19:13:00
    THE SQL Server Blog Spot on the Web Welcome to SQLblog.com The SQL Server blog spot on the web Sign in in StreamInsight Team Entire Site Search Home Blogs Downloads Opml StreamInsight Team Using Subjects to Deploy Queries Dynamically In the previous blog posting , we showed how to construct and deploy query fragments to a StreamInsight server , and how to re-use them later . In today's posting we'll integrate this pattern into a method of dynamically composing a new query with an existing . one The construct that enables this scenario in StreamInsight V2.1 is a Subject A Subject lets me create a junction element in an existing query that I can tap into while the query is . running To set this up as an end-to-end example , let's first define a stream simulator as our data : source var

  • Deletes that Split Pages and Forwarded Ghosts

    Updated: 2012-08-30 17:09:00
    Can DELETE operations cause pages to split? Yes. It sounds counter-intuitive on the face of it; deleting rows frees up space on a page, and page splitting occurs when a page needs additional space. Nevertheless, there are circumstances when deleting rows causes them to expand before they can be deleted. The mechanism at work here is row versioning (extract from Books Online below): Isolation Levels The relationship between row-versioning isolation levels (the first bullet point) and page splits is...(read more)

  • Agile Data Warehousing with SQL Server 2012 Q&A

    Updated: 2012-08-30 14:38:33
    Yesterday has been published my Q&A interview on my Pre-Conference Workshop at SQL Pass 2012. It’s a good way to understand what will be discussed in the workshop, so if you’re interested or you’re into the Data Warehouse / Business Intelligence field and want to understand how the Agile approach can help you, you can read it here: http://bit.ly/PASS2012DMInterview

  • SSAS Tabular Workshop online and other upcoming dates (and updates!) #ssas #tabular

    Updated: 2012-08-30 11:27:00
    THE SQL Server Blog Spot on the Web Welcome to SQLblog.com The SQL Server blog spot on the web Sign in in SQLBI Marco Russo Entire Site Search Home Blogs Downloads Opml SQLBI Marco Russo SQLBI is a blog dedicated to building Business Intelligence solutions with SQL Server SSAS Tabular Workshop online and other upcoming dates and updates ssas tabular After many conferences and travels , this summer I had some time to write and prepare new sessions for the next wave of conferences . In reality I am just doing that , even if I already restarted traveling for consulting and training . So expect new content about DAX and Tabular coming in the next months Starting to see real customer adopting Tabular is showing many new challenges and there is still a lot to learn and to . create If you still

  • SQL Server 2012 Cumulative Update #3 is available!

    Updated: 2012-08-30 04:01:00
    Today the SQL Server Release Services Team has released the third Cumulative Update for SQL Server 2012. The KB article is at: http://support.microsoft.com/kb/2723749 . The build number is: 11.0.2332.0 (though the KB article currently says 11.0.2330). There are 36 fixes publicly documented at the time of writing....(read more)

  • SQL SERVER – Beginning of SQL Server Architecture – Terminology – Guest Post

    Updated: 2012-08-30 02:30:02
    SQL Server Architecture is a very deep subject. Covering it in a single post is an almost impossible task. However, this subject is very popular topic among beginners and advanced users.  I have requested my friend Anil Kumar who is expert in SQL Domain to help me write  a simple post about Beginning SQL Server [...]

  • Fifty Shades of Gray: The SQL and PowerShell

    Updated: 2012-08-30 01:00:00
    Phil was struck by a comment by a DBA on a Simple-Talk article that complained that the PowerShell examples weren't simple enough. The traditional "hello world" was too simple (that's actually the program), but he was suddenly struck by the literary fuss over 'Fifty Shades of Gray' to decide to do a 'Fifty Shades of Gray' Wallchart in both TSQL and PowerShell.

  • SQL Server 2008 R2 Cumulative Updates are available

    Updated: 2012-08-29 22:10:00
    Microsoft has released cumulative updates for SQL Server 2008 R2. SQL Server 2008 R2 SP1 Cumulative Update #8 KB article is http://support.microsoft.com/kb/2723743 Build number is 10.50.2822.0 There are 20 fixes published as of 2012-08-31 This update is relevant for builds between 10.50.2500 and 10.50.2820 Note that the page that lists builds and updates for SP1 doesn't currently agree with the KB article; the KB article shows 10.50.2821 while the build list correctly shows 10.50.2822. The download...(read more)

  • SQL SERVER – Three Methods to Insert Multiple Rows into Single Table – SQL in Sixty Seconds #024 – Video

    Updated: 2012-08-29 02:30:25
    One of the biggest ask I have always received from developers is that if there is any way to insert multiple rows into a single table in a single statement. Currently when developers have to insert any value into the table they have to write multiple insert statements. First of all this is not only [...]

  • Parameterized StreamInsight Queries

    Updated: 2012-08-29 01:28:09
    THE SQL Server Blog Spot on the Web Welcome to SQLblog.com The SQL Server blog spot on the web Sign in in StreamInsight Team Entire Site Search Home Blogs Downloads Opml StreamInsight Team Parameterized StreamInsight Queries The changes in our APIs enable a set of scenarios that were either not possible before or could only be achieved through workarounds . One such use case that people ask about frequently is the ability to parameterize a query and instantiate it with different values instead of re-deploying the entire statement . I’ll demonstrate how to do this in StreamInsight 2.1 and combine it with a method of using subjects for dynamic query composition in a mini-series of at least two blog . articles Let’s start with something really simple : I want to deploy a windowed aggregate to

  • ObjectStorageHelper now available for Windows 8 RTM

    Updated: 2012-08-28 23:20:19
    THE SQL Server Blog Spot on the Web Welcome to SQLblog.com The SQL Server blog spot on the web Sign in in SSIS Junkie Entire Site Search Home Blogs Downloads Opml SSIS Junkie This is the blog of Jamie Thomson , a freelance SQL Server developer in London ObjectStorageHelper In October 2011 I wrote a blog post entitled ObjectStorageHelper where I introduced a little utility class called ObjectStorageHelper that I had been working on while noodling around on the Developer Preview of Windows 8. ObjectStorageHelper makes it easy for anyone building apps for Windows 8 to save data to files . How easy As easy as : this var myPoco new Poco IntProp 1, StringProp one var objectStorageHelper new ObjectStorageHelper Poco StorageType Local await objectStorageHelper.SaveAsync(myPoco Compare that to the

  • SQL SERVER – A Brief Note on SET TEXTSIZE

    Updated: 2012-08-28 02:30:03
    Here is a small conversation I received. I thought though an old topic, indeed a thought provoking for the moment. Question: Is there any difference between LEFT function and SET TEXTSIZE? I really like this small but interesting question. The question does not specify the difference between usage or performance. Anyway we will quickly take [...]

  • Registered Servers and Central Management Server Stores

    Updated: 2012-08-28 01:00:00
    SQL Server Management Studio (SSMS) has many features that make it particularly convenient for the database developer and DBA. Registered Servers are typical: poorly documented, but essential for the busy DBA, since they are easily scriptable via TSQL or PowerShell as well as the SSMS GUI, to access groups of servers to perform a wide range of tasks.

  • Secure Your Spot at the Nashville SQL Saturday!

    Updated: 2012-08-27 15:50:00
    Check out the fantastic line-up of technical sessions offered at this free SQL Saturday event. Secure your reservation for mid-October at the SQL Saturday in "Music City" Nashville, TN!...(read more)

  • Presenting in the UK 8-13 Sep 2012!

    Updated: 2012-08-27 10:00:00
    I will be in London delivering SSIS training ( Learning SQL Server 2012 Integration Services - 12-14 Sep). Whle there, I will be making other presentations! I am honored to present Designing an SSIS Framework at SQL Saturday #162 in Cambridge, UK on 8 Sep 2012! But that’s not all – that’s just the beginning of my tour of UK user groups. Monday 10 Sep, I am presenting at SQL South West in Exeter. Tuesday 11 Sep, Chris Webb and I are presenting at the SQL London User Group . Thursday 13 Sep, Chris...(read more)

  • SQL SERVER – Answer – Value of Identity Column after TRUNCATE command

    Updated: 2012-08-27 02:30:41
    Earlier I had one conversation with reader where I almost got a headache. I suggest all of you to read it before continuing this blog post SQL SERVER – Reseting Identity Values for All Tables. I believed that he faced this situation because he did not understand the difference between SQL SERVER – DELETE, TRUNCATE and RESEED Identity. I [...]

  • SQL SERVER – Download PSSDIAG Data Collection Utility

    Updated: 2012-08-26 02:30:29
    During an early career of mine as a database consultant – when I was dealing with SQL Server 2000, I often needed to collect various data related to SQL Server. My favorite tool to collect the data is PSSDIAG tool. It is a general purpose diagnostic collection utility that Microsoft Product Support Services uses to collect [...]

  • SQLAuthority News – Featuring in Call Me Maybe The Developer Way – Pluralsight Video

    Updated: 2012-08-25 02:30:34
    Is SQL boring? Not at all. SQL is fun – one has to know how to maximize the fun while working with SQL Server. Earlier I was invited to participate in the video Pluralsight. I am sure all of you know that I have authored 3 SQL Server Learning courses with Pluralsight – 1) SQL [...]

  • T-SQL User-Defined Functions: the good, the bad, and the ugly (part 4)

    Updated: 2012-08-24 22:07:00
    Scalar user-defined functions are bad for performance. I already showed that for T-SQL scalar user-defined functions without and with data access, and for most CLR scalar user-defined functions without data access , and in this blog post I will show that CLR scalar user-defined functions with data access fit into that picture. First attempt Sticking to my simplistic example of finding the triple of an integer value by reading it from a pre-populated lookup table and following the standard recommendations...(read more)

  • New videos available #dax #ssas #powerpivot

    Updated: 2012-08-24 14:21:47
    THE SQL Server Blog Spot on the Web Welcome to SQLblog.com The SQL Server blog spot on the web Sign in in SQLBI Marco Russo Entire Site Search Home Blogs Downloads Opml SQLBI Marco Russo SQLBI is a blog dedicated to building Business Intelligence solutions with SQL Server New videos available dax ssas powerpivot The collaboration I and Alberto started with Project Botticelli is starting producing content . At this point we have three videos : available DAX in Action shows the power of DAX in PowerPivot solving common patterns not so easy or fast to solve in other languages DAX : Calculated Columns vs . Measures shows the difference between calculated columns and measures in DAX Introduction to DAX has a content corresponding to the title The first two videos are freely available , the

  • SQL SERVER – DELETE, TRUNCATE and RESEED Identity

    Updated: 2012-08-24 02:30:27
    Yesterday I had a headache answering questions to one of the DBA on the subject of Reseting Identity Values for All Tables. After talking to the DBA I realized that he has no clue about how the identity column behaves when there is DELETE, TRUNCATE or RESEED Identity is used. Let us run a small T-SQL [...]

  • Upcoming speaking engagements – want to meet me?

    Updated: 2012-08-23 22:28:00
    I have a very busy time ahead of me, with lots of travel, lots of speaking engagements, and hence lots of opportunity to meet and catch up with what has become known as the SQL Family. (An excellent term, by the way – it describes exactly how it has always felt to me!) So, for everyone who want to know when and where they can meet me (as well as for everyone who wants to make sure to stay as far away from me as possible), here is my schedule for the rest of the year, in chronological order: · September...(read more)

  • Resource Center for Microsoft Office

    Updated: 2012-08-23 16:18:00
    Want to learn more about Microsoft Office? This resource center has links to the resources you need!...(read more)

  • SQL SERVER – Reseting Identity Values for All Tables

    Updated: 2012-08-23 02:30:01
    Sometime email requesting help generates more questions than the motivation to answer them. Let us go over one of the such examples. I have converted the complete email conversation to chat format for easy consumption. I almost got a headache after around 20 email exchange. I am sure if you can read it and feel [...]

  • Cloud Computing: Start with the problem

    Updated: 2012-08-22 14:50:02
    : THE SQL Server Blog Spot on the Web Welcome to SQLblog.com The SQL Server blog spot on the web Sign in in Buck Woody Entire Site Search Home Blogs Downloads Opml Buck Woody Carpe Datum Cloud Computing : Start with the problem At one point in my life I would build my own computing system for home use . I wanted a particular video card , a certain set of drives , and a lot of memory . Not only could I not find those things in a vendor's pre-built computer , but those were more expensive by a lot . As time moved on and the computing industry matured , I actually find that I can buy a vendor's system as cheaply and in some cases far more cheaply than I can build it myself . nbsp This paradigm holds true for almost any product , even clothing and furniture . And it's also held true for

  • xVelocity engines compared: VertiPaq vs ColumnStore #ssas #vertipaq #xvelocity #sql #tabular

    Updated: 2012-08-22 12:56:00
    : THE SQL Server Blog Spot on the Web Welcome to SQLblog.com The SQL Server blog spot on the web Sign in in SQLBI Marco Russo Entire Site Search Home Blogs Downloads Opml SQLBI Marco Russo SQLBI is a blog dedicated to building Business Intelligence solutions with SQL Server xVelocity engines compared : VertiPaq vs ColumnStore ssas vertipaq xvelocity sql tabular During the last months I and Alberto worked in several projects using Analysis Services Tabular and we had to face real world issues , such as complex queries , large data volume , frequent data updates and so on . Sometime we faced the challenge of comparing Tabular performance with SQL Server . It seemed a non-sense , because even if the same core xVelocity technology is implemented in both products SQL Server 2012 uses

  • Learn SSIS from the Authors of SSIS Design Patterns at the PASS Summit 2012!

    Updated: 2012-08-22 12:00:00
    Jessica Moss ( blog | @jessicammoss ), Michelle Ufford ( blog | @sqlfool ), Tim Mitchell ( blog | @tim_mitchell ), Matt Masson ( blog | @mattmasson ), and me – we are all presenting the SSIS Design Patterns pre-conference session at the PASS Summit 2012 ! We will be covering material from, and based upon, the book. We will describe and demonstrate patterns for package execution, package logging, loading flat file and XML sources, loading the cloud, dynamic package generation, SSIS Frameworks, data...(read more)

  • Opinion: Passwords as a concept are completely broken

    Updated: 2012-08-22 08:02:00
    : THE SQL Server Blog Spot on the Web Welcome to SQLblog.com The SQL Server blog spot on the web Sign in in The Bit Bucket Greg Low IDisposable Entire Site Search Home Blogs Downloads Opml The Bit Bucket Greg Low IDisposable Ramblings of Greg Low SQL Server MVP , MCM and Microsoft RD SQL Down Under Opinion : Passwords as a concept are completely broken One thing you get to do as you get older , or have been around the industry for a long time , is to pontificate . My pet topic today is passwords . I think that they are , as a concept , now completely broken and have been for a long time . We tell : users 1. Pick something really complex 2. Don't write it down 3. Change it regularly 4. Use a different password for each site , and often each role that you hold in each site 5. Deal with the

  • SQL Down Under Show 51 - Guest Conor Cunningham - Now online

    Updated: 2012-08-22 04:13:00
    THE SQL Server Blog Spot on the Web Welcome to SQLblog.com The SQL Server blog spot on the web Sign in in The Bit Bucket Greg Low IDisposable Entire Site Search Home Blogs Downloads Opml The Bit Bucket Greg Low IDisposable Ramblings of Greg Low SQL Server MVP , MCM and Microsoft RD SQL Down Under SQL Down Under Show 51 Guest Conor Cunningham Now online Late last night I got to record an interview with Conor . Cunningham Most people that know Conor have come across him as the product team wizard that knows so much about query processing and optimization in SQL Server . Conor is currently spending quite a lot of time working on Windows Azure SQL Database , which we used to know as SQL Azure . I'm still trying to think of a good way to say WASD I suppose I'll pronounce it like wassid Windows

  • SQL SERVER – Color Coding SQL Server Management Studio Status Bar – SQL in Sixty Seconds #023 – Video

    Updated: 2012-08-22 02:30:45
    I often see developers executing the unplanned code on production server when they actually want to execute on the development server. Developers and DBAs get confused because when they use SQL Server Management Studio (SSMS) they forget to pay attention to the server they are connecting. It is very easy to fix this problem. You [...]

  • SQL SERVER – Installing Data Quality Services (DQS) on SQL Server 2012

    Updated: 2012-08-21 02:30:04
    Data Quality Services is very interesting enhancements in SQL Server 2012. My friend and SQL Server Expert Govind Kanshi have written an excellent article on this subject earlier on his blog. Yesterday I stumbled upon his blog one more time and decided to experiment myself with DQS. I have basic understanding of DQS and MDS [...]

  • Presenting at DevLink 2012 29-31 Aug!

    Updated: 2012-08-20 12:00:00
    I am honored to present three sessions next week at DevLink 2012 – 29-31 Aug! My sessions are: Loading SQL Server 2012 Data Warehouse Partitions at 1:00 PM 29 Aug Designing an SSIS Framework at 4:00 PM 30 Aug Using BIML as an SSIS Design Patterns Engine at 8:00 AM 31 Aug I hope to see you there! :{>...(read more)

  • SQL SERVER – Winners – Contest Win Joes 2 Pros Combo (USD 198)

    Updated: 2012-08-20 02:30:50
    Earlier this week we had contest ran over the blog where we are giving away USD 198 worth books of Joes 2 Pros. We had over 500+ responses during the five days of the contest. After removing duplicate and incorrect responses we had a total of 416 valid responses combined total 5 days. We got [...]

  • SQLAuthority News – 2 Security Updates for SQL Server 2000 SP 4 Users

    Updated: 2012-08-19 02:30:07
    If you are using SQL Server 2000 still today my very first recommendation to you is to upgrade to SQL Server 2012. SQL Server 2000 is now 12 years old product and since then many new enhancements as well features which are relevant to current growth and progress in Informational Industry. Now is the time to [...]

  • Join me for SSIS Training in London 12-14 Sep 2012

    Updated: 2012-08-18 09:50:00
    We still have a few seats available in the Learning SQL Server 2012 Integration Services class in London in mid-September. You can learn details here and register for the course here . I hope to see you there in September! :{>...(read more)

  • SQLAuthority News – Presented at Bangalore DevCon August 4, 2012

    Updated: 2012-08-18 02:30:05
    Bangalore Devcon 2012 was a great fun. Earlier this month I was fortunate to be invited to present at Dev Con. The event was very well planned and had excellent response. There were more than 140 attendees at any time in the sessions. There were two tracks and both tracks were running parallel to each [...]

  • PASS Summit for SQL Starters

    Updated: 2012-08-17 14:47:21
    THE SQL Server Blog Spot on the Web Welcome to SQLblog.com The SQL Server blog spot on the web Sign in in Davide Mauri Entire Site Search Home Blogs Downloads Opml Davide Mauri A place for my thoughts and experiences on SQL Server , Business Intelligence and NET PASS Summit for SQL Starters I’ve received a buch of emails from PASS Summit First Timers” that are also somehow new to SQL Server for somehow” I mean people with less than 6 month experience but with some basic knowledge of SQL Server engine or are catching up from SQL Server 2000. The common question regards the session one should not miss to have a broad view of the entire SQL Server platform have some insight into some specific areas of SQL Server Given that I’m on semi- vacantion and that I have more free time not true , I

  • SQL SERVER – Curious Case of Disappearing Rows – ON UPDATE CASCADE and ON DELETE CASCADE – T-SQL Example – Part 2 of 2

    Updated: 2012-08-17 02:30:39
    Yesterday I wrote a real world story of how a friend who thought they have an issue with intrusion or virus whereas the issue was really in the code. I strongly suggest you read my earlier blog post Curious Case of Disappearing Rows – ON UPDATE CASCADE and ON DELETE CASCADE – Part 1 of 2 before continuing [...]

  • SQL SERVER – Curious Case of Disappearing Rows – ON UPDATE CASCADE and ON DELETE CASCADE – Part 1 of 2

    Updated: 2012-08-16 02:30:14
    Social media has created an Always Connected World for us. Recently I enrolled myself to learn new technologies as a student. I had decided to focus on learning and decided not to stay connected on the internet while I am in the learning session. On the second day of the event after the learning was [...]

  • SQLAuthority News – Technical Review of Learning at Koenig Solutions

    Updated: 2012-08-15 02:30:41
    Yesterday I finished my 3 days fast track in person learning of course End to End SQL Server Business Intelligence at Koenig Solutions. You can read my previous article over here regarding why am I learning SQL Server. Yesterday I blogged about my experience of arriving to Training Center and my induction with the center. The Training Days I had [...]

  • SQLAuthority News – Learning Trip – Traveling to Learn SQL Server

    Updated: 2012-08-14 02:30:47
    I am currently traveling to Delhi to learn SQL Server in person from my friend. You can read more details about why am I learning SQL Server.  I have signed up for the course End to End SQL Server Business Intelligence at Koenig Solutions. Yesterday I blogged about my registration experience and today I am going to [...]

  • Gail Shaw's SQL Server Howlers

    Updated: 2012-08-14 01:00:00
    For the latest in our series of SQL Server Howlers, we asked Gail Shaw which common SQL Server mistakes and misunderstandings lead to tearful DBAs and plaintive cries for help on the forums.

  • SQLAuthority News – Getting Ready to Learn SQL Server

    Updated: 2012-08-13 02:30:05
    If you have read my earlier blog post you must be aware of how I am always eager to learn new things. I have signed up for three days learning course at Koenig Solutions for End to End SQL Server Business Intelligence. You may wonder why I sign up for the course on SQL Server [...]

  • SQL SERVER – ERROR: FIX using Compatibility Level – Database diagram support objects cannot be installed because this database does not have a valid owner – Part 2

    Updated: 2012-08-12 02:30:00
    Earlier I wrote a blog post about how to resolve the error with database diagram. Today I faced the same error when I was dealing with a database which is upgraded from SQL Server 2005 to SQL Server 2008 R2. When I was searching for the solution online I ended up on my own earlier [...]

  • SQL SERVER – Contest – Summary of 5 Day and Additional Information

    Updated: 2012-08-11 02:30:28
      I am overwhelmed with the response of our contest ran earlier this week. Every day we are giving away USD 198 worth give aways to readers in USA and India. If you have not participated so far, I encourage you to participate today itself. Here are links to our 5 day contest. The winner [...]

  • SQL SERVER – Understanding XML – Contest Win Joes 2 Pros Combo (USD 198) – Day 5 of 5

    Updated: 2012-08-10 02:30:08
    August 2011 we ran a contest where every day we give away one book for an entire month. The contest had extreme success. Lots of people participated and lots of give away. I have received lots of questions if we are doing something similar this month. Absolutely, instead of running a contest a month long [...]

  • SQL SERVER – Expanding Views – Contest Win Joes 2 Pros Combo (USD 198) – Day 4 of 5

    Updated: 2012-08-09 02:30:29
    August 2011 we ran a contest where every day we give away one book for an entire month. The contest had extreme success. Lots of people participated and lots of give away. I have received lots of questions if we are doing something similar this month. Absolutely, instead of running a contest a month long [...]

  • SQL SERVER – Clustered Index and Primary Key – Contest Win Joes 2 Pros Combo (USD 198) – Day 3 of 5

    Updated: 2012-08-08 02:30:45
    August 2011 we ran a contest where every day we give away one book for an entire month. The contest had extreme success. Lots of people participated and lots of give away. I have received lots of questions if we are doing something similar this month. Absolutely, instead of running a contest a month long [...]

  • SQL SERVER – Identity Fields – Contest Win Joes 2 Pros Combo (USD 198) – Day 2 of 5

    Updated: 2012-08-07 02:30:26
    August 2011 we ran a contest where every day we give away one book for an entire month. The contest had extreme success. Lots of people participated and lots of give away. I have received lots of questions if we are doing something similar this month. Absolutely, instead of running a contest a month long [...]

Current Feed Items | Previous Months Items

Jul 2012 | Jun 2012 | May 2012 | Apr 2012 | Mar 2012 | Feb 2012